<template>
  <f7-page>
    <f7-navbar back-link="返回" title="开通服务" sliding></f7-navbar>

    <div>
      <span>商业智能</span>
      <label class="toggle toggle-init color-green">
        <input type="checkbox" checked>
        <span class="toggle-icon"></span>
      </label>
      <p>
        开通商业智能，您的数据将与其他企业共享，系统会精准为您推荐行情于合作伙伴。
        关闭，您的数据将会处于封闭状态，不在共享
      </p>
    </div>
    <hr/>
    <div>
      <span>物流公众号服务</span>
      <p>企业简称会同步到物流公众号里，复制链接进入物流公众号：Http://weixin.daodizaina.com</p>
    </div>

  </f7-page>
</template>

<script>
  import tab from '../../components/tab.vue'
  import F7Link from "framework7-vue/src/components/link";

  export default {
    name: 'app',
    data () {
      return {
        account: '',
        name: '',
        price: '',
        status: false,
        msg: ''
      }
    },
    components: {
      F7Link,
      tab
    },
    methods: {
      validata () {
        if (!this.account) {
          this.status = false
          this.msg = '请填写支付宝账号'
        } else if (!this.name) {
          this.status = false
          this.msg = '请填写真实姓名'
        } else if (!this.price) {
          this.status = false
          this.msg = '请填写提现金额'
        } else if (this.price > 20000) {
          this.status = false
          this.msg = '单笔提现金额不得超过20000'
        } else {
          this.status = true
        }
        return {status: this.status, msg: this.msg}
      }
    }
  }
</script>

<style scoped>
  .row {
    margin: 0px 10px;
  }

  .col-25 {
    float: left;
    text-align: center;
    position: relative;
    margin-bottom: 25px;
  }

  i.f7-icons {
    display: inherit;
    height: 30px;
  }

  .text-gray {
    font-family: verdana, 'Hiragino Sans GB', 'Microsoft Yahei', 微软雅黑,
    'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #333;
    font-weight: 400;
    margin-top: 7px;
    font-size: 12px;
  }

  .text-purple {
    color: #a3a2f0;
  }

  .ios .navbar .right {
    margin-left: 10px;
    color: #fff;
    font-size: 14px;
  }

  .bg-master {
    position: relative;
    background: url('../../assets/img/bg-master.jpg') no-repeat center -53px;
    background-size: 100% 150px;
    padding-bottom: 15px;
  }

  .bg-master h2 {
    color: #fff;
    font-size: 20px;
    white-space: normal;
    display: inherit;
    padding: 12px 0 9px 24px;
    margin: 0;
  }

  .bg-master h4 {
    color: #fff;
    font-size: 12px;
    white-space: normal;
    display: inherit;
    padding: 0px 0 30px 24px;
    margin: 0;
  }

  .role-icon {
    vertical-align: middle;
    background: #9db7ff;
    color: #fff;
    font-size: 12px;
    border-radius: 20px;
    padding: 2px 8px;
    margin-left: 10px;
  }

  .logo-icon {
    position: absolute;
    right: 24px;
    top: 9px;
    width: 80px;
    height: 80px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 100%;
    background: #f0f0f0;
  }

  .logo-icons {
    width: 48px;
    height: 48px;
    border-radius: 100%;
  }

  .ios .card {
    margin: 0 24px 20px 24px;
    padding: 10px 10px;
    border-radius: 5px;
  }

  .text-center_tite {
    font-size: 16px;
    color: #333;
  }

  .text-center_footer {
    font-size: 12px;
    color: #666;
  }

  .text-center_footer span {
    margin-right: 3px;
  }

  .ios .card-header,
  .ios .card-footer {
    min-height: 40px;
    padding: 0px 15px;
    position: initial;
  }

  .item-face {
    position: absolute;
    right: 15px;
    top: 5px;
  }

  .text-gray2 {
    color: #e5e5e5;
    font-size: 12px;
    display: inherit;
  }

  .ios .list {
    margin: 0;
  }

  .ios .page {
    background: #fff;
  }
</style>
